﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace Home.Domain.Entities
{
    public class Bulletin
    {
        public int Id { get; set; }
        /// <summary>
        /// 标题
        /// </summary>
        [Required]
        [MaxLength(60)]
        public string Title { get; set; }
        /// <summary>
        /// 正文
        /// </summary>
        [Required]
        public string Body { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        //public float Sort { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateDate { set; get; }
    }
}
